package com.sc.nft.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.ReportUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.vo.ReportUserDayDetailsVO;
import com.sc.nft.entity.vo.ReportUserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * (sc_report_user)数据Mapper
 *
 * @author Sun
 * @since 2023-02-21 17:20:39
 * @description 由 Mybatisplus Code Generator 创建
*/
@Mapper
public interface ReportUserMapper extends BaseMapper<ReportUser> {

    /**
     * 获取昨日总数据
     * @return
     */
    ReportUser getOneByYesterday();

    ReportUserVO getReporUser();

    Page<ReportUserDayDetailsVO> getPageReporUser(Page page, @Param("beginTime") String beginTime,@Param("endTime") String endTime);
}
